package com.bdzl.admin.service.sys.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bdzl.admin.dao.sys.UserOrgDao;
import com.bdzl.pub.entity.sys.UserOrgDO;
import com.bdzl.admin.service.sys.UserOrgService;



@Service
public class UserOrgServiceImpl implements UserOrgService {
	@Autowired
	private UserOrgDao userOrgDao;
	
	@Override
	public UserOrgDO get(Integer suoId){
		return userOrgDao.get(suoId);
	}
	
	@Override
	public List<UserOrgDO> list(Map<String, Object> map){
		return userOrgDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return userOrgDao.count(map);
	}
	
	@Override
	public int save(UserOrgDO userOrg){
		return userOrgDao.save(userOrg);
	}
	
	@Override
	public int update(UserOrgDO userOrg){
		return userOrgDao.update(userOrg);
	}
	
	@Override
	public int remove(Integer suoId){
		return userOrgDao.remove(suoId);
	}
	
	@Override
	public int batchRemove(Integer[] suoIds){
		return userOrgDao.batchRemove(suoIds);
	}
	
}
